package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.common.result.ResultData;
import com.j283_5.wisdom_park.pojo.Alarules;
import com.j283_5.wisdom_park.vo.confcenter_management.AlarulesVo;
import com.j283_5.wisdom_park.vo.confcenter_management.RoleinfoVo;

import java.util.ArrayList;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface AlarulesService extends IService<Alarules> {


    /**
     * 查询告警规则
     * @param page
     * @param alarules
     * @return
     */
    ResultData alaRulesInfo(Page<Alarules> page, Alarules alarules);

    /**
     * 添加告警规则
     * @param alarulesVo
     * @return
     */
    ResultData addAlaRules(AlarulesVo alarulesVo);

    /**
     * 删除告警规则
     * @param alaRuleslist
     * @return
     */
    ResultData deleteAlaRules(ArrayList<Integer> alaRuleslist);

    /**
     * 修改告警规则
     * @param alarules
     * @return
     */
    ResultData updateAlaRules(Alarules alarules);
}
